]> dgit.raspbian.org Git - gnome-shell.git/commit
endSessionDialog: Catch async errors
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 15 Mar 2023 19:11:39 +0000 (20:11 +0100)
committerMarge Bot <marge-bot@gnome.org>
Sun, 19 Mar 2023 19:54:45 +0000 (19:54 +0000)
commit34712449da3f1d897ae07fc85c0234eb3a02da5c
tree5be5554a1d3ffe611a824830537a0f837284c185
parent2709d15ae08eeb2240cf422620d0adde141790d2
endSessionDialog: Catch async errors

Otherwise the actual error is masked by an "unhandled promise
rejection" error, making it harder to track down the underlying
cause.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6506

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2696>
js/ui/endSessionDialog.js